<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>结果面板</title>
		<script type="text/javascript"
			src="http://api.map.baidu.com/api?v=1.3"></script>
	</head>
	<body>
		<div style="width: 520px; height: 340px; border: 1px solid gray"
			id="container"></div>
		<div id="results" style="font-size: 13px; margin-top: 10px;"></div>
	</body>
</html>
<script type="text/javascript">
var map = new BMap.Map("container");
map.centerAndZoom(new BMap.Point(116.404, 39.915), 15);
map.addControl(new BMap.NavigationControl());               // 添加平移缩放控件
map.addControl(new BMap.ScaleControl());                    // 添加比例尺控件
map.addControl(new BMap.OverviewMapControl());              //添加缩略地图控件

var local = new BMap.LocalSearch("上海", {
  renderOptions: {map: map, panel: "results"}
});
local.search("涞寅路658号");
</script>
